package com.hospital.billcommon.module.business;

/**
 * @description 扣费工厂类
 * @author: liuwei
 * @create 2020/5/18 4:18 下午
 **/
public class ChargeBusinessFactory {

    final static String OUT_TYPE="01";

    public static ChargeBusinessInfo  getChargeType(String outOrIn){
        if(OUT_TYPE.equals(outOrIn)){
            return new OutpChargeBusiness();
        }else {
            return new InpChargeBusiness();
        }
    }
}
